﻿@model WeProjects.Models.LocalPasswordModel

<style type="text/css">
    .row div {
        min-height: 32px;
    }

        .row div label {
            height: 25px;
            vertical-align: -1px;
        }
</style>

<p>
    You do not have a local password for this site. Add a local
    password so you can log in without an external login.
</p>

@using (Html.BeginForm("Manage", "Account")) {
    @Html.AntiForgeryToken()
    @Html.ValidationSummary()

    <fieldset>
        <legend>Set Password Form</legend>
        <div class="row">
            <div class="col-xs-3 col-md-2 text-right">
                @Html.LabelFor(m => m.NewPassword)
            </div>
            <div class="col-xs-9 col-md-10">
                @Html.PasswordFor(m => m.NewPassword)
            </div>
            <div class="col-xs-3 col-md-2 text-right">
                @Html.LabelFor(m => m.ConfirmPassword)
            </div>
            <div class="col-xs-9 col-md-10">
                @Html.PasswordFor(m => m.ConfirmPassword)
            </div>
            <div class="col-xs-3 col-md-2 text-right">
                <input type="submit" value="设置密码" class="btn btn-success" />
</fieldset>
}
